package com.csis.framework.domain;

import java.util.List;

public class FormBean<T> extends BaseFormBean {
	private T bean;
	private List<T> beans;
	private String beanIds;

	// form submit action url
	private String action;
	// form submit method type
	private String method = "post";

	private String result = "success";
	
	//identity show all records
	private Boolean isAll;

	/**
	 * @return the isAll
	 */
	public Boolean getIsAll() {
		return isAll;
	}

	/**
	 * @param isAll the isAll to set
	 */
	public void setIsAll(Boolean isAll) {
		this.isAll = isAll;
	}

	public FormBean() {
	}

	public T getBean() {
		return bean;
	}

	public void setBean(T bean) {
		this.bean = bean;
	}

	public List<T> getBeans() {
		return beans;
	}

	public void setBeans(List<T> beans) {
		this.beans = beans;
	}

	public String getBeanIds() {
		return beanIds;
	}

	public void setBeanIds(String beanIds) {
		this.beanIds = beanIds;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

}
